package com.attilax.c;

import java.util.Date;

import com.attilax.time.timeUtil;
import com.attilax.util.DateUtil;
import com.sun.jna.Pointer;

public class Time {
	
	public static void main(String[] args) {
		
		
		timeUtil.Atimestamp_SecUnit();
		long time = Time.time(null);
		System.out.println(time);
	//1454916115929
	//1454916128	
	//1454916152
		   Date d= DateUtil.str2date("2016-12-12", false);
		System.out.println(d.getTime()/1000);
		System.out.println(timeUtil.Atimestamp());
	}
	
	public static long time(Object pt)
	{
		if(pt==null)
		return new Date().getTime()/1000;
		return 0;
		
	}

}
